Create Run Property

Creates a new run property for the specified project.

POST{accelqLoginUrl}/awb/api/2.0/{tenantCode}/{projectCode}/res/run-property

Headers

HeaderValue
user_idLogin username (email)
api_keyAPI key of the user for authentication
Content-Typeapplication/json
Acceptapplication/json

Parameters

ParameterTypeRequiredDescription
accelqLoginUrlstringYesThe AccelQ login URL for API access.
tenantCodestringYesTenant code for identifying the organization.
projectCodestringYesProject Code found under Auth properties of ACCELQ User Profile
user_idstringYesLogin username (email)
api_keystringYesAPI key of the user for authentication

Request Body

json
{
  "name": "New Run Property"
}

Responses

201 - Run Property successfully created.

json
{
  "pid": 15754,
  "name": "New Run Property",
  "createdUser": 2,
  "createdTimestamp": 1730801799833,
  "lastModifiedUser": 2,
  "lastModifiedTimestamp": 1730801799833
}

400 - Bad Request. Validation errors occurred.

json
{
  "error": "Run Property name is required."
}

403 - Forbidden - User does not have permission to create Run Property.

json
{
  "error": "User do not have authorization to access this feature."
}

422 - Project not found.

json
{
  "error": "Project with code 'proj123' not found."
}

cURL Command Builder

URL Parameters

Headers

Request Sample (cURL)

curl -X POST "${{accelqLoginUrl}}/awb/api/2.0/${{tenantCode}}/${{projectCode}}/res/run-property" \
  -H "user_id: ${{user_id}}" \
  -H "api_key: ${{api_key}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{
  "name": "New Run Property"
}'